<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Hello</title>
</head>
<body>
<script>
    function reloadImage(){
        document.getElementById('imgCode').src="safecode";
    }
</script>
<form action="http://localhost:8080/MysqlLogin.LoginServlet" method="get">
    <label>用户名：</label><input type="text" name="username" placeholder="please input your name"/><br>
    <label>密  码：</label><input type="password" name="password" placeholder="please input password"/><br>
    <!--<img id="imgCode" src="safecode"/>-->
    <!--<input type="text" name="验证码"/>-->
    <!--<input type="button" value="看不清" id="btn" onclick="reloadImage()"/><br>-->
    <input style="background:yellow" type="submit" value="登录"/>
</form>
<!--<img src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1504606663637&di=215dcea83de4d9bc006fa49cbeecb25e&imgtype=0&src=http%3A%2F%2Fimg.taopic.com%2Fuploads%2Fallimg%2F110915%2F29-11091512035335.jpg">-->
</body>
</html>